import request from '@/utils/request'
//教室管理接口
export function eduClassroomQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/eduClassroom/query',
    params: data,
  })
}

export function eduClassroomQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/eduClassroom/query/' + id,
  })
}

export function eduClassroomAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/eduClassroom/add',
    data,
  })
}

export function eduClassroomDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/eduClassroom/delete/' + id,
  })
}

export function eduClassroomUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/eduClassroom/update',
    data,
  })
}
